package com.mecuros.handler.script;

import com.mecuros.handler.domain.sms.SmsParam;
import com.mecuros.support.domain.SmsRecord;

import java.util.List;

/**
 * @Classname SmsScript
 * @Description 短信脚本
 * @Date 2022/5/9 10:28 下午
 * @Created by yujianbo
 */
public interface SmsScript {

    /**
     * 发送短信
     * @param smsParam
     * @return 渠道商接口返回值
     * @throws Exception
     */
    List<SmsRecord> send(SmsParam smsParam) throws Exception;
}
